<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>外店类目商品管理</title>
    <!-- Bootstrap 3.3.5 -->
    <link href="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../../src/c/font-awesome-4.4.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="../../src/c/ionicons-2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../src/c/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="../../src/c/dist/css/skins/_all-skins.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link href="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/css/bootstrapValidator.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../../build/c/base/index.css">
</head>
<body class="skin-blue sidebar-mini hold-transition">
<div class="wrapper">
    <header class="main-header">
        <!-- Logo -->
        <a href="../home/index.html" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>C</b>RM</span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>闪电购</b>CRM</span>
        </a>

        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">导航</span>
            </a>
            <!-- Navbar Right Menu -->
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">


                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar" id="main-sidebar">
    </aside>
    <!--content-->
    <div class="content-wrapper">
        <section class="content">
            <!--特价专区&&返回面板-->
            <div class="panel panel-default" style="margin-bottom: 10px;">
                <div class="panel-body">
                    <div class="row">
                        <div class="col-xs-6">
                            <span id="catName" style="vertical-align: middle;"></span>
                            <button type="button" class="btn btn-link" id="back" data-city="">返回</button>
                            <input type="hidden" id="categoryId">
                        </div>
                        <div class="col-xs-6 text-right">
                            <button type="button" class="btn btn-default" id="toAddGoodsPage">多店铺添加商品</button>
                            <button type="button" class="btn btn-default" id="unbindAllGoods">全部解绑商品</button>
                        </div>
                        <!--<div class="col-xs-2">-->
                            <!--<button type="button" class="btn btn-link" id="back">返回</button>-->
                            <!--<input type="hidden" id="categoryId">-->
                        <!--</div>-->
                    </div>
                </div>
            </div>
            <!--<div class="row" id="platformTags" style="margin-bottom: 10px;">-->
                <!--<div class="btn-group col-xs-6">-->
                    <!--<button type="button" class="btn btn-default active" data-id="10">淘宝</button>-->
                    <!--<button type="button" class="btn btn-default" data-id="1">饿了么</button>-->
                    <!--<button type="button" class="btn btn-default" data-id="2">美团</button>-->
                <!--</div>-->
                <!--<div class="col-xs-6 text-right">-->
                    <!--<button type="button" class="btn btn-default" id="toAddGoodsPage">多店铺添加商品</button>-->
                    <!--<button type="button" class="btn btn-default" id="unbindAllGoods">全部解绑商品</button>-->
                <!--</div>-->
            <!--</div>-->
            <div class="panel panel-default">
                <div class="panel-body">
                    <form class="navbar-form navbar-left" role="form" id="panel_Search">
                        <div class="form-group">
                            <label for="platformTags" class="control-label">
                                <select id="platformTags" name="platformTags" class="form-control">
                                    <option data-id="">全部</option>
                                    <option data-id="10">淘宝</option>
                                    <option data-id="1">饿了么</option>
                                    <option data-id="2">美团</option>
                                </select>
                            </label>
                        </div>
                        <div class="form-group">
                            <label for="shopId" class="control-label">店铺ID
                                <input type="text" class="form-control" name="shopId" id="shopId">
                            </label>
                        </div>
                        <div class="form-group">
                            <label for="goodsName" class="control-label">spu名称
                                <input type="text" class="form-control" name="goodsName" id="goodsName">
                            </label>
                        </div>
                        <div class="form-group">
                            <label for="goodsCode" class="control-label">spu条码
                                <input type="text" class="form-control" name="goodsCode" id="goodsCode">
                            </label>
                        </div>
                        <div class="form-group">
                            <button type="button" id="search_goods" class="btn btn-default">搜&nbsp&nbsp&nbsp&nbsp索</button>
                        </div>
                    </form>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-body">
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th>外部平台</th>
                            <th></th>
                            <th>spu名称</th>
                            <th>spu规格</th>
                            <th>spu单位</th>
                            <th>spu条码</th>
                            <th>spuId</th>
                            <th>店铺ID</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody id="goodsTBody">

                        </tbody>
                    </table>
                </div>
                <div class="text-right pagination" style="width: 100%;padding-right: 45px;">
                    <div id="pagination"></div>
                </div>
            </div>
        </section>
    </div>
    <footer class="main-footer">

    </footer>
    <!-- Control Sidebar -->
    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
     immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>

<!--确认框 -->
<div class="modal fade bs-example-modal-sm" tabindex="-1" id="confirm_dialog" aria-labelledby="confirm_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header" style="border-bottom: 0;">
                <h4 class="modal-title" id="confirm_dialog_title">
                    是否解绑商品?
                </h4>
            </div>
            <div class="modal-body" id="confirm_dialog_content">
                <p class="text-center" id="goodNameInfo" style="margin: 0;"></p>
            </div>
            <div class="modal-footer" style="border-top: 0;">
                <button type="button" class="btn btn-primary" id="confirm">确&nbsp&nbsp&nbsp&nbsp定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关&nbsp&nbsp&nbsp&nbsp闭</button>
                <input type="hidden" id="unBindType" data-type="">
            </div>
        </div>
    </div>
</div>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.52shangou.com/jquery/1.0.0/build/jquery-1.11.3.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://cdn.52shangou.com/dataTables/1.0.0/build/jquery.dataTables.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.js"></script>
<script src="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.js"></script>
<script src="http://cdn.52shangou.com/jquery.cookie/1.0.0/build/jquery.cookie.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/js/bootstrapValidator.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/bootstrap-datetimepicker.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-typeahead/1.0.2/build/bootstrap-typeahead.min.js"></script>
<!-- AdminLTE App -->
<script src="../../src/c/dist/js/app.min.js"></script>
<!-- main -->
<script type="text/javascript" src="http://cdn.52shangou.com/lib/1.0.1/build/lib/require.js?t=1440237721"></script>
<script type="text/javascript">
    require.config({
        urlArgs: 't=' + (new Date()).getTime(),
        baseUrl: '../../build',
        paths: {
            'juicer': 'http://cdn.52shangou.com/lib/1.0.4/build/lib/juicer-amd'
        }
    });
    require(['p/outflat/categoryGoods/index']);
</script>
</body>
</html>